using System.Runtime.Serialization;
using System.ServiceModel;
using Aluetjen.EmailService.Contract;

namespace Aluetjen.EMailService.Contract
{
    [DataContract(Name = "Attachment", Namespace = Namespace.Default)]
    public class Attachment
    {
        [DataMember]
        public byte[] Content { get; set; }
        
        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string MediaType { get; set; }
    }
}